package com.hy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//向所有注册中心注册
@EnableDiscoveryClient
//扫描dao包
@MapperScan(basePackages = "com.hy.dao")
@SpringBootApplication
@MapperScan("com.hy.dao")
public class HyFrontUserProviderApplication {

    public static void main(String[] args) {

        SpringApplication.run(HyFrontUserProviderApplication.class, args);

    }

}
